<nav>
<ul>
<li><a href=" <?php echo $cfg['basepath']."controller/ingelogd.php" ?> ">Home</a></li>
<li><a href=" <?php echo $cfg['basepath']."controller/screening/screenings.php" ?> ">Screenings</a></li>
<?php
if(isset($_SESSION['username'])) {
    if ($_SESSION['admin'] == "T")
    {
        //$cfg['basepath']."controller/screening/kamers.php
        
        echo "<li><a href=\"".$cfg['basepath']."controller/kamer/kamers.php"."\">Kamers</a></li>";
        echo "<li><a href=\"".$cfg['basepath']."controller/patient/patient.php"."\">Bewoners</a></li>";
        echo "<li><a href=\"".$cfg['basepath']."controller/gebouw/gebouw.php"."\">Gebouwen</a></li>";
        echo "<li><a href=\"".$cfg['basepath']."controller/gebruiker/gebruikers.php"."\">Gebruikers</a></li>";
    }
}
?>
</ul>
</nav>
